package com.emergency.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.emergency.data.entity.SettlementPoint;
import com.emergency.data.vo.SettlementPointDetailsVO;
import com.emergency.data.vo.SettlementPointVO;

import java.util.List;

/**
 * (SettlementPoint)安置点服务
 *
 * @author makejava
 * @since 2020-09-21
 */
public interface SettlementPointService extends IService<SettlementPoint> {

    /**
     * 避灾安置点列表
     *
     * @param level 级别
     * @param area 场所面积
     * @param capacity 容纳人数
     * @param siteName 场所名称
     * @return List
     */
    List<SettlementPointVO> getSettlementPointList(Integer streetId,String level, String area, Integer capacity, String siteName);

    /**
     * 避灾安置点详情
     *
     * @param id 安置点ID
     * @return SettlementPointDetailsVO
     */
    SettlementPointDetailsVO getSettlementPointDetail(Long id);
}
